package com.bkgy.controller.tbtcmthkjudge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.controller.tbtcmthkjudge.entity.TbTcmThkJudge;
import com.bkgy.controller.tbtcmthkjudge.entity.TbTcmThkJudgeReq;
import com.bkgy.controller.tbtcmthkjudge.entity.TbTcmThkJudgeResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Author:Lipeng Zhao
 * Description:
 *
 * @Date:Created In 14:38 2025/5/19
 */
@Mapper
public interface TbTcmThkJudgeMapper extends BaseMapper<TbTcmThkJudge> {

    IPage<TbTcmThkJudge>  selectByThkFlagAndWidFlag(Page<?> page, @Param("query") TbTcmThkJudge query);


    /**
     * 酸轧厚度型异常明细
     * @param query TbTcmThkJudge
     */
    IPage<TbTcmThkJudge> tbTcm2ThkJudges(Page<?> page, @Param("query") TbTcmThkJudge query);


    /**
     * 酸轧厚度型异常明细
     * @param query TbTcmThkJudge
     */
    IPage<TbTcmThkJudgeResp> tbTcm2ThkJudge(Page<?> page, @Param("query") TbTcmThkJudgeReq query);

    IPage<TbTcmThkJudgeResp> findThkJudgeByPage(Page<?> page, @Param("query") TbTcmThkJudgeReq query);

}
